package com.weng.platform.platform.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 栏目实体Bean
 *
 * @author wenghui
 * @date 2019-11-29 14:48:01
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("platform_column")
public class Column extends BaseEntity<Column> {

		private static final long serialVersionUID = 1L;


		/**
		 * id
		 */
		@TableField(value="id")
		private String id;


		/**
		 * 名称
		 */
		@TableField(value="name")
		private String name;


		/**
		 * 编码
		 */
		@TableField(value="code")
		private String code;

		/**
		 * 类型,minder思维导图，draw画面，article文章
		 */
		@TableField(value="type")
		private String type;

		/**
		 * 排序
		 */
		@TableField(value="position")
		private Double position;

		/**
		 * 父id
		 */
		@TableField(value="parent_id")
		private String parentId;

		/**
		 *
		 */
		@TableField(value="owner_id")
		private String ownerId;

		/**
		 *
		 */
		@TableField(value="owner_name")
		private String ownerName;

		/**
		 * 删除状态
		 */
		@TableField(value="is_del")
		private Integer isDel;


		/**
		 * 备注
		 */
		@TableField(value="remark")
		private String remark;


		/**
		 * 创建时间
		 */
		@TableField(value="create_time",fill = FieldFill.INSERT)
		private Date createTime;


		/**
		 * 修改时间
		 */
		@TableField(value="update_time",fill = FieldFill.INSERT_UPDATE)
		private Date updateTime;


}
